<h1>News letters List</h1>

<table>
  <thead>
    <tr>
      <th>Id news letter</th>
      <th>Data trimitere</th>
      <th>Mesaj</th>
      <th>Poza</th>
    </tr>
  </thead>
  <tbody>
    <?php foreach ($news_letters as $news_letter): ?>
    <tr>
      <td><a href="<?php echo url_for('news_letter/show?id_news_letter='.$news_letter->getIdNewsLetter()) ?>"><?php echo $news_letter->getIdNewsLetter() ?></a></td>
      <td><?php echo $news_letter->getDataTrimitere() ?></td>
      <td><?php echo $news_letter->getMesaj() ?></td>
      <td><?php echo $news_letter->getPoza() ?></td>
    </tr>
    <?php endforeach; ?>
  </tbody>
</table>

  <a href="<?php echo url_for('news_letter/new') ?>">New</a>
